package org.karelun.gef.property;

import org.eclipse.jface.viewers.ISelection;
import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Text;
import org.eclipse.ui.IWorkbenchPart;
import org.eclipse.ui.part.Page;
import org.eclipse.ui.views.properties.IPropertySheetPage;
import org.karelun.gef.editors.IUmlEditorPart;

public class DiagramProperty extends Page implements IPropertySheetPage{

	protected IUmlEditorPart editor;
	private Text text;
	
	public DiagramProperty(IUmlEditorPart editor){
		this.editor=editor;
	}
	
	public void createControl(Composite parent) {
		text = new Text(parent,SWT.NONE);
	}

	@Override
	public Control getControl() {
		return text;
	}

	@Override
	public void setFocus() {
		
	}

	@Override
	public void selectionChanged(IWorkbenchPart part, ISelection selection) {
		
	}

}
